home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / um / include / shared / um_malloc.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  377 b   |  20 lines

  1. /*
  2.  * Copyright (C) 2005 Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
  3.  * Licensed under the GPL
  4.  */
  5.  
  6. #ifndef __UM_MALLOC_H__
  7. #define __UM_MALLOC_H__
  8.  
  9. #include "kern_constants.h"
  10.  
  11. extern void *uml_kmalloc(int size, int flags);
  12. extern void kfree(const void *ptr);
  13.  
  14. extern void *vmalloc(unsigned long size);
  15. extern void vfree(void *ptr);
  16.  
  17. #endif /* __UM_MALLOC_H__ */
  18.  
  19.  
  20.